package com.dgut.medicalsystem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dgut.medicalsystem.entity.FeedBack;
import com.dgut.medicalsystem.mapper.FeedBackMapper;
import com.dgut.medicalsystem.service.FeedBackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class FeedBackServiceImpl extends ServiceImpl<FeedBackMapper, FeedBack> implements FeedBackService{

    @Autowired
    FeedBackMapper feedBackMapper;


    @Override
    public int send(FeedBack feedBack) {

        return feedBackMapper.insert(feedBack);
    }
}
